package com.zwxbc.funplay.entity;

import java.util.Date;

public class PurchaseRecord {
	private Long purchaseId;
	private Long playerId;
	private Long gameId;
	private Date purchaseDate;
	private Double purchasePrice;

	public PurchaseRecord() {
	}

	public PurchaseRecord(Long purchaseId, Long playerId, Long gameId, Date purchaseDate, Double purchasePrice) {
		this.purchaseId = purchaseId;
		this.playerId = playerId;
		this.gameId = gameId;
		this.purchaseDate = purchaseDate;
		this.purchasePrice = purchasePrice;
	}

	public Long getPurchaseId() {
		return purchaseId;
	}

	public void setPurchaseId(Long purchaseId) {
		this.purchaseId = purchaseId;
	}

	public Long getPlayerId() {
		return playerId;
	}

	public void setPlayerId(Long playerId) {
		this.playerId = playerId;
	}

	public Long getGameId() {
		return gameId;
	}

	public void setGameId(Long gameId) {
		this.gameId = gameId;
	}

	public Date getPurchaseDate() {
		return purchaseDate;
	}

	public void setPurchaseDate(Date purchaseDate) {
		this.purchaseDate = purchaseDate;
	}

	public Double getPurchasePrice() {
		return purchasePrice;
	}

	public void setPurchasePrice(Double purchasePrice) {
		this.purchasePrice = purchasePrice;
	}

	@Override
	public String toString() {
		return "PurchaseRecord{" +
				"purchaseId=" + purchaseId +
				", playerId=" + playerId +
				", gameId=" + gameId +
				", purchaseDate=" + purchaseDate +
				", purchasePrice=" + purchasePrice +
				'}';
	}
}
